package com.niit.guet.chapter01;

import com.niit.guet.chapter01.TeacherB;
public class TeacherC {
	private String nameC = "TeacherC";
	private int ageC = 2;

	private void sayHello() {
		System.out.println("hello");
	}
	
	public static void main(String[] args) {
//		TeacherB teacherB = new TeacherB();
//		System.out.println(teacherB.nameB);
//		
//		TeacherC teacherC  =  new TeacherC();
//		System.out.println(teacherC.nameC);
		TeacherB t = new TeacherB();

	}
	
	
}
